﻿Module Module1
  Sub Main()

    ' Esempio: 08.03
    Dim matrice(5, 8) As Double
    matrice(0, 0) = 1.5
    matrice(0, 1) = 2.0
    matrice(0, 2) = 2.5
    matrice(1, 0) = 0.5
    matrice(2, 0) = 0.3
    ' matrice(4, 9) = 0.0     ' <-- Errore!

    Dim matrice2(,) As Integer =
      {{0, 1, 2}, {10, 11, 12}}
    Console.WriteLine(matrice(1, 2))
    Console.ReadLine()

  End Sub
End Module
